FROM java:8u111-jre
WORKDIR /home
COPY application.yml application.yml
COPY insmess-speech.jar insmess-speech.jar
COPY entrypoint.sh entrypoint.sh
COPY ffmpeg.tar.gz ffmpeg.tar.gz
RUN tar -zxvf ffmpeg.tar.gz -C /opt && rm -rf ffmpeg.tar.gz
ENTRYPOINT ["sh", "entrypoint.sh"]